package com.xcfw.dorm.mapper;

import com.xcfw.dorm.entity.DormAssistan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DormAssistanMapper {
    int deleteByPrimaryKey(Integer id);


    int insertSelective(DormAssistan record);

    DormAssistan selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DormAssistan record);

    List<DormAssistan> selectActionSql(@Param("schoolId") String schoolId,
                                       @Param("name") String name,
                                       @Param("password") String password,
                                       @Param("idcard") String idcard);

    Integer selectAutoId();

    Integer selectLogin(@Param("schoolId") String schoolId,
                         @Param("name") String name,
                         @Param("password") String password);
}